package cn.skyquant.quant4j.api.quant;

import cn.skyquant.quant4j.sdk.enums.TradeDirection;

public class TitansValue {
    public final int k;
    public final double r;
    public final TradeDirection tradeDirection;
    public final int level;
    public final Bar bar;
    public final double avgBarPrice;

    public TitansValue(int k,double r,TradeDirection tradeDirection, int level,Bar bar,double avgBarPrice) {
        this.tradeDirection = tradeDirection;
        this.level = level;
        this.bar = bar;
        this.avgBarPrice =avgBarPrice;
        this.k = k;
        this.r = r;
    }

    @Override
    public String toString() {
        return "["+ tradeDirection.name()+"]:"+bar;
    }
}
